package com.sms.plateform.common.finals;

import java.util.Locale;

public class Constants {

	public final static Locale DEFAULT_LOCALE = Locale.CHINA;
	
	public final static String APPLICATION_TITLE="企业短信应用系统";
	
	public final static int PAGE_SIZE_DEFAULT = 20;
	
	public final static String SESSION_USER = "user";
	
	public final static String SESSION_GROUP="group";
	
	public final static String SESSION_ROLE = "role";
	
	/**
	 * 关联平台web
	 */
	public final static String PLATEFORM_WEB="_WEB";
	/**
	 * 关联平台sdk
	 */
	public final static String PLATEFORM_SDK="_SDK";
	/**
	 * 默认发送包
	 */
	public final static int PACK_NUM=20;
	/**
	 * 默认发送字数
	 */
	public final static int CHAR_SIZE=60;
	/**
	 * 1表示正常发送
	 */
	public final static int STYPE_001=1;
	/**
	 * 2表示定时发送
	 */
	public final static int STYPE_002=2;
	/**
	 * 0用户状态为失效
	 */
	public final static int USER_STATUS_000=0;
	/**
	 * 1用户状态为平台发送
	 */
	public final static int USER_STATUS_001=1;
	/**
	 * 2用户状态为接口发送
	 */
	public final static int USER_STATUS_002=2;
	/**
	 * 3用户状态为接口平台同时发送
	 */
	public final static int USER_STATUS_003=3;
	
	/**
	 * 发送成功
	 */
	public static final int STATUS_111 = 111;
	/**
	 * 发送失败
	 */
	public static final int STATUS_100 = 100;
	/**
	 * 发送过快
	 */
	public static final int STATUS_101 = 101; // 
	/**
	 * 系统暂停
	 */
	public static final int STATUS_102 = 102; // 
	/**
	 * 网络不通
	 */
	public static final int STATUS_103 = 103; // 
	/**
	 * 不合法文字
	 */
	public static final int STATUS_104 = 104; // 
	/**
	 * 登录账户错误
	 */
	public static final int STATUS_105 = 105; // 
	/**
	 * 参数为空
	 */
	public static final int STATUS_106 = 106; // 
	/**
	 * 错误号码
	 */
	public static final int STATUS_107 = 107; // 
	/**
	 * 号码过多
	 */
	public static final int STATUS_108 = 108; // 
	/**
	 * 内容太长
	 */
	public static final int STATUS_109 = 109; // 
	/**
	 * 内部错误
	 */
	public static final int STATUS_110 = 110; // 
	/**
	 * 扩展号错
	 */
	public static final int STATUS_112 = 112; // 
	/**
	 * 时流量到
	 */
	public static final int STATUS_113 = 113; // 
	/**
	 * 参数错误
	 */
	public static final int STATUS_114 = 114; // 
	/**
	 * 账号禁用
	 */
	public static final int STATUS_115 = 115; // 
	/**
	 * 余额不足
	 */
	public static final int STATUS_116 = 116; //
	/**
	 * 发送时间错误
	 */
	public static final int STATUS_117 = 117;
	/**
	 * 无状态
	 */
	public static final int STATUS_999 = 999; // 
}
